/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.factory.server.exception;

import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.Response;

/**
 *
 * @author milos
 */
public class InputValidationException extends WebApplicationException {

    public InputValidationException(String cause) {
        super(Response.status(500).
                entity(cause).type("text/plain").build());
    }
}
